package com.work.shart.user.entity;


import com.baomidou.mybatisplus.annotation.TableField;

import com.baomidou.mybatisplus.annotation.TableName;
import com.work.shart.common.mybatis.entity.BaseEntity;

import lombok.*;

/**
 * <p>
 * 用户
 * </p>
 *
 * @author cong
 * @since 2022-03-30
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("sys_user")
public class SysUserEntity extends BaseEntity <Long>{

    private static final long serialVersionUID = 1L;

    /**
     * 账号
     */
    @TableField("account")
    private String account;

    /**
     * 密码
     */
    @TableField("password")
    private String password;

    /**
     * 昵称
     */
    @TableField("nick_name")
    private String nickName;

    /**
     * 手机号
     */
    @TableField("iphone")
    private String iphone;

    /**
     * 头像
     */
    @TableField("head_portrait")
    private String headPortrait;

    /**
     * 审核状态(0=待审核、1=审核拒绝、2=审核通过)
     */
    @TableField("audit_status")
    private String auditStatus;


}
